package org.springframework.boot.autoconfigure.mock.model;

/**
 * @author: hooware
 * @Date: 2021/12/26 17:12
 * @Description: mock response 响应类型枚举
 */
public enum MockResTypeEnum {

    JSON(0, "注解Value直接配置Json响应数据"),
    PROP(1, "注解Value直接配置Json响应配置路径"),
    METHOD(2, "注解方法执行直接返回Json响应数据"),
    ;

    private Integer code;

    private String desc;

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    MockResTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
